package cn.itsource.domain;

import cn.hutool.core.annotation.Alias;
import cn.hutool.core.annotation.PropIgnore;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;

/**
 * 实体类：课程Course
 */
@Data
public class Course {
    @PropIgnore //导出时忽略这个属性
    private Long id;
    @JsonFormat(pattern = "yyyy/MM/dd",timezone = "GMT+8")
    @Alias(value = "日期")
    private Date lectureTime;
    @Alias(value = "星期")
    private String week;
    @Alias(value = "课程内容")
    private String content;
    @Alias(value = "讲师")
    private String teacher;
    @Alias(value = "备注")
    private String remark;
}
